//
//  GSSearchViewController_TableView.m
//  GameSky
//
//  Created by lanou on 16/1/14.
//  Copyright © 2016年 NiRongfei. All rights reserved.
//

#import "GSSearchViewController_TableView.h"

@implementation GSSearchViewController_TableView

- (instancetype)initWithFrame:(CGRect)frame style:(UITableViewStyle)style{
    self = [super initWithFrame:frame style:style];
    if (self) {
        _boxView = [[UIScrollView alloc] initWithFrame:CGRectMake(0, 0, frame.size.width, frame.size.height)];
        // 夜间模式
        _boxView.dk_backgroundColorPicker = DKColorWithRGB(0xffffff, 0x343434);
        
        _boxView.bounces = NO;
        _boxView.showsHorizontalScrollIndicator = NO;
        _boxView.showsVerticalScrollIndicator = NO;

        [self addSubview:_boxView];
        // 将滑动关闭
        self.scrollEnabled = NO;
    }
    return self;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
